package com.fdb.efp.nls.service.facade;

import com.fdb.efp.nls.service.vo.BizParamValueVO;
import com.fdb.efp.nls.service.vo.SDicTreeVO;

import java.util.List;

/**
 * <p>
 * Description:系统字典树表
 * <p>
 * 
 * @author fuzm
 * @date 2018-05-15
 */
public interface SDicTreeService {

	public List<SDicTreeVO> queryAll();

	public List<SDicTreeVO> queryAllOwner(SDicTreeVO sDicTreeVo);

	public List<SDicTreeVO> queryAllCurrOrg(SDicTreeVO sDicTreeVo);

	public List<SDicTreeVO> queryAllCurrDownOrg(SDicTreeVO sDicTreeVo);

	public int insertSDicTree(SDicTreeVO inSDicTreeVo);

	public int deleteByPk(SDicTreeVO sDicTreeVo);

	public int updateByPk(SDicTreeVO sDicTreeVo);

	public SDicTreeVO queryByPk(SDicTreeVO sDicTreeVo);

	// 禁入行业接口
	/**
	 * 查询禁入行业
	 * 
	 * @param bizParamValueVO
	 * @return
	 */
	public List<BizParamValueVO> queryAllBizValueByPage(BizParamValueVO bizParamValueVO);

	/**
	 * 
	 * @param bizParamValueVO
	 * @return
	 */
	public List<BizParamValueVO> queryAllBizValue(BizParamValueVO bizParamValueVO);

	/**
	 * 根据双主键查询禁入行业条数
	 * 
	 * @param bizParamValueVO
	 * @return
	 */
	public int queryByValueAndEnname(BizParamValueVO bizParamValueVO);

	/**
	 * 批量新增禁入行业
	 * 
	 * @param bizParamValueVO
	 * @return
	 */
//	public int insertBizParamValue(BizParamValueVO bizParamValueVO);

	/**
	 * 批量新增禁入行业
	 * 
	 * @param bizParamValueVO
	 * @return
	 */
	public int insertMoreBizParamValue(List<BizParamValueVO> bizParamValueVO);

	/**
	 * 根据双主键删除禁入行业配置
	 * 
	 * @param bizParamValueVO
	 * @return
	 */
	public int deleteByValueAndEnname(BizParamValueVO bizParamValueVO);
	/**
	 * 批量删除
	 * @param bizParamValueVO
	 * @return
	 */
	public int deleteMoreBizParamValue(List<BizParamValueVO> bizParamValueVO);

	/**
	 * 全表删除
	 * 
	 * @param bizParamValueVO
	 * @return
	 */
	public int deleteAllBizParamValue(BizParamValueVO bizParamValueVO);
	/**
	 * 查询字典树信息
	 * @param opttype
	 * @return
	 */
	public List<SDicTreeVO> querySDicTreeByOpttype(String opttype);
}
